namespace RuoVea.WeighIns.Server.Dto;

/// <summary>
/// 变化率统计
/// </summary>
public class ChangeRate
{
    /// <summary>
    /// 累计变化总量
    /// </summary>
    public double TotalChange { get; set; }

    /// <summary>
    /// 初始体重
    /// </summary>
    public double FirstWeight { get; set; }

    /// <summary>
    /// 初始体重时间
    /// </summary>
    public DateTime? FirstWeightTime { get; set; }

    /// <summary>
    /// 记录总天数
    /// </summary>
    public double TotalDays { get; set; }

    /// <summary>
    /// 平均每周变化率
    /// </summary>
    public double AvgWeeklyChange { get; set; }

    /// <summary>
    /// 平均每月变化率
    /// </summary>
    public double AvgMonthlyChange { get; set; }
}
